import java.awt.*;

import javabean.JPanelImagenMejorado;

import javax.swing.*;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
@SuppressWarnings("serial")
public class VentanaPrincipal extends JFrame{
	private JPanelImagenMejorado panFondoMej;
	
	public VentanaPrincipal()
	{
		{
			
			panFondoMej = new JPanelImagenMejorado();
			getContentPane().add(panFondoMej, BorderLayout.CENTER);
			panFondoMej.setImagen("../imagenfondo.png");
			panFondoMej.setPreferredSize(new java.awt.Dimension(569, 408));
			Image i = null; 
			panFondoMej.setImagen(i);
			panFondoMej.setImagen("../ahorcado.jpg");
			
		}
		
		this.setSize(428, 367);

	}
	
	public static void main(String arguments[])
	{
		VentanaPrincipal ventanaPrincipal = new VentanaPrincipal();
		ventanaPrincipal.setVisible(true);
		ventanaPrincipal.setDefaultCloseOperation(EXIT_ON_CLOSE);
	}
}
